<?php

use yii\db\Migration;
use yii\db\Schema;

class m170905_093307_add_field_remark extends Migration
{
    public function up()
    {
         $this->addColumn('{{finance}}', 'remark', Schema::TYPE_STRING. "(1500) NULL COMMENT '收款账号备注' ");
    }

    public function down()
    {
        echo "m170905_093307_add_field_remark cannot be reverted.\n";

        return false;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
